package org.jeecg.wms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.wms.entity.WmsMatdetailCfg;
import org.jeecg.wms.entity.WmsMatheadValue;
import org.jeecg.wms.vo.WmsMatdetailCfgVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IWmsMatdetailCfgService extends IService<WmsMatdetailCfg> {
    List<WmsMatdetailCfg> getDetailList(WmsMatheadValue wmsMatheadValue);

    IPage<WmsMatdetailCfgVO> getDetailListBycheckNo(Page<WmsMatdetailCfgVO> page, String checkNo);

    Result<?> importExcel(HttpServletRequest request, HttpServletResponse response, Class<WmsMatdetailCfg> wmsMatdetailCfgClass);
}
